#ifndef FRAMEBUFFER_OBJECT_H
#define FRAMEBUFFER_OBJECT_H

#include <GLee.h>

namespace GL
{
    
class Texture2D;

class FramebufferObject
{
public:
    FramebufferObject();
    ~FramebufferObject();
    
    void attachTexture(GLuint texId, GLenum target, GLuint attachIndex);
    void bind();
    void unbind();
    
    static bool statusOK();
    
private:
    GLuint m_Id;
};

}

#endif
